func internal/runtime/gc/scan.bool2int
4 uses
internal/runtime/gc/scan (current package)
scan_go.go#L51: isPtr := bool2int(ptrMask[wordI/goarch.PtrBits]&(1<<(wordI%goarch.PtrBits)) != 0)
scan_go.go#L52: isNonNil := bool2int(val >= 4096)
scan_go.go#L82: b.n += bool2int(pred)
scan_go.go#L97: func bool2int(x bool) int {
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |